package com.xbongbong.paas.print.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 打印模板名称修改
 * @author xingxing.xiao
 * @date 2019/10/09 10:31
 */
@Setter
@Getter
@ToString
public class PaasPrintNameEditDTO extends BaseDTO {
    private static final long serialVersionUID = -2882061291848865917L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 打印模板名称
     */
    @NotBlank(message = "{dto.msg.paasPrintNameEdit.name.NotBlank}")
    @Size(min=1, max=30, message="{dto.msg.paasPrintNameEdit.name.Size}")
    private String name;

    /**
     * 菜单id
     */
    private Long menuId;

}
